unit uExceptionSaldoInsuficiente;

interface

uses
  System.SysUtils, uExceptionSaque;

type
  ESaldoInsuficiente = class(ESaque)
    private
      FSaldoAtual : double;
    public
      property SaldoAtual : double read FSaldoAtual write FSaldoAtual;
      constructor create(SaldoAtual, ValorSaque : double);
  end;

implementation

constructor ESaldoInsuficiente.create(SaldoAtual,ValorSaque : double);
begin
  self.SaldoAtual := SaldoAtual;
  self.ValorSaque := ValorSaque;
end;

end.
